package com.crm.dao;

import java.util.List;

import com.crm.model.SysDepartment;
import com.crm.model.entity.Tree;

public interface SysDepartmentMapper extends BaseMapper<SysDepartment>{
	List<Tree> selectMaster();
	
	List<Tree> selectMasterByParm(Tree tree);
	
	List<Tree> selectByParm(Tree tree);
	
	Integer selectMaxSortCode(SysDepartment record);
	
	List<SysDepartment> selectDeparmentAlle(SysDepartment record);
	
	List<SysDepartment> selectSiblings();
}